import request from '@/utils/request'

let group = '/form'

export function show(id) {
  return request({
    url: group + '/show/' + id,
    method: 'get',
  })
}
export function getList(data) {
  return request({
    url: group + '/getList',
    method: 'post',
    data,
  })
}

export function doEdit(data) {
  return request({
    url: group + '/doEdit',
    method: 'post',
    data,
  })
}

export function doAdd(data) {
  return request({
    url: group + '/doAdd',
    method: 'post',
    data,
  })
}

export function doDelete(data) {
  return request({
    url: group + '/doDelete',
    method: 'post',
    data,
  })
}
